package org.itboys.trade.service.mysql;

import java.util.List;
import java.util.Map;

import org.itboys.trade.dao.UserWithdrawMapper;
import org.itboys.trade.entity.mysql.UserWithdraw;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserWithdrawService {
	
	@Autowired
	private UserWithdrawMapper mapper;
	
	public  List<UserWithdraw> list(Map<String, Object> search){
		return mapper.list(search);
	};
	public UserWithdraw getById(long id){
		return mapper.getById(id);
	};
}
